package com.example.woke1;

import com.zhongcai.online.R;

import android.os.Bundle;
import android.app.Activity;
import android.content.Intent;
import android.view.View;
import android.view.View.OnClickListener;

public class MyzhongctypeActivity extends Activity {

	@Override
	protected void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		setContentView(R.layout.activity_myzhongctype);
		
		intview();
		
	}

	private void intview() {
		findViewById(R.id.myzhongcfa_image_back).setOnClickListener(new OnClickListener() {
			@Override
			public void onClick(View v) {
				finish();
			}
		});
		
		findViewById(R.id.zhongctype_1).setOnClickListener(new OnClickListener() {
			@Override
			public void onClick(View v) {
				Intent intent = new Intent(MyzhongctypeActivity.this,MyfaqiActivity.class);
				intent.putExtra("zhongtype", 1);
				startActivity(intent);
			}
		});
		
		findViewById(R.id.zhongctype_2).setOnClickListener(new OnClickListener() {
			@Override
			public void onClick(View v) {
				Intent intent = new Intent(MyzhongctypeActivity.this,MyfaqiActivity.class);
				intent.putExtra("zhongtype", 2);
				startActivity(intent);
			}
		});
		
		findViewById(R.id.zhongctype_3).setOnClickListener(new OnClickListener() {
			@Override
			public void onClick(View v) {
				Intent intent = new Intent(MyzhongctypeActivity.this,MyfaqiActivity.class);
				intent.putExtra("zhongtype", 3);
				startActivity(intent);
			}
		});
	}
}
